export default {
    namespaced: true,
    state: {
        stateList: ["AK", "AL", "AR", "AZ", "CA", "CO", "CT", "DE", "DC", "FL", "GA", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VT", "WA", "WI", "WV", ],
        lenUnit: ["cm", "inch"],
        weightUnit: ["g", "lbs"],
        currency: ['USD', 'CNY', 'CAD', 'EUR', 'GBP', 'AUD', 'JPY','MXP'],
        countryList: ["US", "ES", "DE", "JP", "CA", "UK", "PL"],
        pageList: [{ label: "Letter Size", value: 1 }],
        //日志类型
        logActions: {
            4: "tracking回写Boss",
            10: "推送附件",
            13: "库存流水回写",
            90: "失效",
            96: "FBA箱数据导入",
            100: "创建",
            150: "添加备注",
            200: "更新",
            210: "提交",
            220: "发运",
            230: "保存并提交",
            240: "撤回申请",
            250: "保存",
            260: "编辑",
            290: "卸货",
            300: "删除",
            400: "取消",
            500: "审核通过",
            560: "撤销审核",
            600: "审核拒绝",
            610: "BOSS处理",
            620: "文件导出",
            700: "审核",
            710: "已出库",
            720: "已确认",
            800: "完成",
            830: "生成箱标",
            840: "换仓操作",
            930: "推送仓库",
            1010: "调拨入库执行单回传boss",
            1020: "一键装箱",
            1030: "确认发货",
            1031: "修改发运信息",
            1040: "采购入库执行单回传",
            1046: "确认到仓",
            1050: "发运确认推送boss",
            1060: "审核通过推送boss",
            1070: "审核退回推送boss",
            1047: "到港确认",
            1073:"仓库回写"

        }
    },
    getters: {
        getStateList(state) {
            return state.stateList;
        },
        getCountryList(state) {
            return state.countryList;
        },
        getProductType(state) {
            return state.productTypes;
        },
        getLenUnitList(state) {
            return state.lenUnit;
        },
        getWeightUnitList(state) {
            return state.weightUnit;
        },
        getCurrencyList(state) {
            return state.currency;
        },
        getPageList(state) {
            return state.pageList;
        },

        getLogActions(state) {
            return state.logActions;
        },
    },
    mutations: {
    },
    actions: {
    }
};
